home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -screenplay- / shareware / muscarine / 5.room < prev    next >
Text File  |  2000-02-29  |  7KB  |  167 lines

  1. /* Grogg Greentooth's Home
  2. /*
  3. /* 5.room
  4. /*
  5. /* Roomflags:
  6. /* RF 1 = 0 Shoe on foot | = 1 Barefoot | = 2 Foot cut up
  7. /* RF 2 = 0 not yet talked to Drawing | = 1 Hint from Drawing
  8. /* RF 3 = 0 first visit | = 1 was here
  9.  
  10. /* UPDATE: scroll_frames;normal_frames
  11. /*
  12. UPDATE: 1;1
  13.  
  14. /* SECTION: section number
  15. /*
  16. SECTION: 2
  17.  
  18. /* BACKDROP: filename
  19. /*
  20. BACKDROP: 5BG.IFF
  21.  
  22. /* START_POS: sposno;image;x;y;camera;floor
  23. /*
  24. START_POS: 1;SIMG11;296;142;M;1
  25. START_POS: 2;SIMG21;46;141;M;4
  26.  
  27. /* FLOOR: floorno;x1;y1;x2;y2;floormap/.../floormap
  28. /*
  29. FLOOR: 1;248;130;319;169;1-1/2-2/3-3/4-2
  30. FLOOR: 2;90;164;299;169;1-1/2-2/3-3/4-4
  31. FLOOR: 3;248;93;265;169;1-1/2-2/3-3/4-2
  32. FLOOR: 4;90;153;179;169;1-2/2-2/3-2/4-4
  33.  
  34. /* EXIT: no;x1;y1;x2;y2;epointx;epointy;description
  35. /*
  36. EXIT: 1;296;13;319;132;306;129;exit
  37. EXIT: 2;24;92;62;134;47;135;tunnel
  38.  
  39. /* CLPART: filename
  40. /*
  41. CLPART: 5FG.IFF
  42.  
  43. /* ROOMIMGS: no_of_imgs;startrimg;grabx;graby;width;height;xoffset;hotsp
  44. /*
  45. /* 1=Shoe, 2=Foot
  46. ROOMIMGS: 1;1;160;13;30;30;0;-1
  47. ROOMIMGS: 1;2;244;3;63;49;0;-1
  48. /* 3=Foot cut up
  49. ROOMIMGS: 1;3;85;4;65;51;65;0
  50. /* 4=Drawing
  51. ROOMIMGS: 1;4;199;9;32;40;0;0
  52. /* 5=Grogg 6,7,8=Grogg Talk Anim
  53. ROOMIMGS: 4;5;0;60;80;68;80;0
  54. /* 9=Window
  55. ROOMIMGS: 1;9;18;142;32;39;0;0
  56.  
  57. /* STATIC: bobno;image;putx;puty
  58. /*
  59.  
  60. /* ANIM: bobno;image;anim_ch;amalsequence;putx;puty
  61. /*
  62.  
  63. /* ROOMOBJ: roomobjno,object_definition.... (see graal.main documentation)
  64. /*
  65. ROOMOBJ: 1;Window;5;VIS;10;RIMG9;63;38; ; ; ; ;NPICK; ;8; ;HIGH; ;a;this;it
  66.  
  67. /* DACT: condition;...;action;...
  68. /*
  69. /* This room uses the command area
  70. /*
  71.  
  72. DACT: SETRF 40,2=0
  73. DACT: IFRF 1=1;HIDE 1
  74. DACT: IFRF 1=2;PIMG 54,120,RIMG3;HIDE 1;HIDE 3;FLOOR 4,5,155,179,169,1-2/2-2/3-2/4-4
  75. DACT: TRACK 5.mod,0,NOFILTER
  76. DACT: LIGHTS ON
  77. DACT: IFRF 3=0;RESP R,1,Welcome! My name is Grogg Greentooth.;SETRF 5,3=1;EXIT
  78. DACT: IFRF 3=1;IFRF 1=0;RESP R,1,Welcome again! My name is still Grogg Greentooth.;EXIT
  79. DACT: EXIT
  80.  
  81. /* LINE: dlgno;lineno;line;reuseline;conditions
  82. /*
  83. /* LACT: dlgno;lineno;action;...;action
  84. /*
  85. /* 1 is grogg dialogue
  86. LINE: 1;1;My name is Erica.;My name is still Erica.;
  87. LACT: 1;1;IFOF 1=0;SETOF 1=1;RESP R,1,Erica is a beautiful name!;DSET 1;EXIT
  88. LACT: 1;1;RESP S,1,Erica is still a beautiful name!;DSET 1,-1;EXIT
  89.  
  90. LINE: 1;2;Good bye for now.; ; 
  91. LACT: 1;2;RESP S,1,Good bye!;EDLG;EXIT
  92.  
  93. LINE: 1;3;Doesn't your foot feel cold?;Shouldn't we amputate your leg before it freezes?; 
  94. LACT: 1;3;IFOF 2=0;SETOF 2=1;RESP R,1,Oh yes, now as you mention it...;RESP R,1,It feels really cold!;DSET 1;EXIT
  95. LACT: 1;3;SETOF 3,1=1;RESP R,1,Yes, I think so. It would be better. Cut it off!;DSET 1,N3;EDLG;EXIT
  96.  
  97. LINE: 1;4;What do you know about that drawing behind you?;What did you say about that drawing again?;IFOF 2,1=0;IFOF 2,2=0
  98. LACT: 1;4;RESP R,1,I think it's somewhat magic.;DSET 1,-4;EXIT
  99.  
  100. LINE: 1;5;What do you know about the star nilende?; ;IFOF 9,2=1
  101. LACT: 1;5;RESP R,1,It's useful to have when exploring dark areas.;DSET 1,-5;EXIT
  102.  
  103. LINE: 1;6;My mission is to have fun!; ;IFOF 8,1=0
  104. LACT: 1;6;RESP R,1,Oh, that's very nice.;DSET 1,N6;EXIT
  105.  
  106. LINE: 1;7;My mission is to destroy the Universe!;Do you know how to destroy the Universe?;IFOF 8,1=1
  107. LACT: 1;7;IFOF 3=0;SETOF 3=1;RESP R,1,Who told you that?;SAY King Cranium.;RESP R,1,Ah yes, then you have to do it!;DSET 1;EXIT
  108. LACT: 1;7;IFOF 3=1;RESP R,1,No, I have no idea!;DSET 1,N7;EXIT
  109.  
  110. /* 2 is drawing dialogue
  111. LINE: 2;1;How are you able to talk? You're just a drawing!;I still don't understand how you can talk.; 
  112. LACT: 2;1;IFOF 2=0;RESP S,2,It's a very special trick. I can't explain it now.;SETOF 2=1;DSET 2;EXIT
  113. LACT: 2;1;IFOF 2=1;RESP S,2,You are very curious, aren't you?;SETOF 2=2;DSET 2;EXIT
  114. LACT: 2;1;IFOF 2=2;RESP S,2,Ok, there is someone sitting behind the wall. That's all! Satisfied?;SETOF 2=3;DSET 2,N1,+3;EXIT
  115.  
  116. LINE: 2;2;Why does Grogg only have one leg?;Tell me more about Grogg's other leg!; 
  117. LACT: 2;2;IFOF 1=0;RESP S,2,This is very sad story. Some time ago he had a second leg.;SETOF 1=1;DSET 2;EXIT
  118. LACT: 2;2;IFOF 1=1;RESP S,2,But because he only has one shoe his other leg froze.;RESP S,2,They had to amputate it.;SETRF 2=1;DSET 2,-2;EXIT
  119.  
  120. LINE: 2;3;Who is sitting behind the wall?; ;IFOF 2=3
  121. LACT: 2;3;RESP S,2,Honestly? There is nobody behind the wall!
  122. LACT: 2;3;RESP S,2,I'm just a magic drawing that can talk.
  123. LACT: 2;3;RESP S,2,Believe it or not! That's the truth.;DSET 2,N3
  124.  
  125. LINE: 2;4;See you later!; ; 
  126. LACT: 2;4;RESP S,2,Bye!;EDLG;EXIT
  127.  
  128. /* Room actions follow below ***
  129. /*
  130. /* ACTION: verbno;condition;...;command;...
  131.  
  132. /* Action 0 - Exit
  133. ACTION: 0;IFOBJ 1;MEXIT;GOTO 4,2
  134. ACTION: 0;IFOBJ 2;IFRF 1=2;MEXIT;GOTO 11,1
  135. ACTION: 0;IFOBJ 2;SAY I can't reach the tunnel. Grogg's leg is in the way.;EXIT
  136.  
  137. /* Action 1 - Give
  138. ACTION: 1;IFOBJ 1;IFOBJ2 4|3;IFRF 5,1=1;SETRF 5,1=0;CMOVE 90,169,C;HANDLE;PUT 1,U,5;SHOW 1,68,140,RIMG1;W 12;HANDLE -1;RESP R,1,Thank you!;EXIT
  139.  
  140. /* Action 2 - Pick Up
  141. ACTION: 2;IFOBJ 1;IFNOTCARR;IFRF 5,1=0;SETRF 5,1=1;MOBJ;HANDLE;W 12;PICK;HANDLE -1;RESP R,1,Hey, that's my shoe. Give it back!;EXIT
  142. ACTION: 2;IFOBJ 3;IFRF 2=0;SAY I can't pick up the whole Grogg Greentooth! He's way too big.;EXIT
  143. ACTION: 2;IFOBJ 3;IFRF 2=1;SAY I need something sharp to cut it off!;EXIT
  144.  
  145. /* Action 3 - Use
  146. ACTION: 3;IFOBJ 1;IFOBJ2 4|3;IFRF 5,1=1;VERB 1;REDO
  147. ACTION: 3;IFOBJ 14;IFOBJ2 3;IFOF 3,1=1;IFNOTCARR 3;IFCARR 1;MOBJ 3;SETRF 1=2;HANDLE MID;RESP R,1,OUCH! AAHRG!;HANDLE -1;PICK 3;PIMG 54,120,RIMG3;FLOOR 4,5,155,179,169,1-2/2-2/3-2/4-4;RESP R,1,Owww, that hurts.;EXIT
  148. ACTION: 3;IFOBJ 14;IFOBJ2 3;IFOF 3,1=1;IFNOTCARR 3;IFNOTCARR 1;MOBJ 3;SETRF 1=2;HANDLE MID;RESP R,1,My foot doesn't feel cold now.;RESP R,1,There is no need to amputate it.;EXIT
  149. ACTION: 3;IFOBJ 17;IFOBJ2 3;IFOF 3,1=1;IFNOTCARR 3;MOBJ 3;RESP R,1,No! Not with a dirty old knife like this.;EXIT
  150. ACTION: 3;IFOBJ 14|17;IFOBJ2 3;IFOF 3,1=0;IFNOTCARR 3;SAY Perhaps I should ask him before I do this.;EXIT
  151.  
  152. /* Action 5 -Talk to
  153. ACTION: 5;IFOBJ 2;MOBJ;SAY Hello!;RESP R,2,Hello!;DSET 2,+1,+2,+3,+4;EXIT
  154. ACTION: 5;IFOBJ 4;IFRF 2=1;IFRF 1=1;MOBJ;DSET 1,+1,+3,+4,+5,+6,+7,+2;EXIT
  155. ACTION: 5;IFOBJ 4;MOBJ;DSET 1,+1,-3,+4,+5,+6,+7,+2;EXIT
  156.  
  157. /* Action 8 - Look at
  158. ACTION: 8;IFOBJ 3;IFNOTCARR 3;MOBJ;SAY A rather thin leg.|I wonder if he can stand on his single foot.;EXIT
  159. ACTION: 8;IFOBJ 2;MOBJ;SAY Some kind of childish graffiti.;EXIT
  160. ACTION: 8;IFOBJ ROBJ1;SAY Just a window.;EXIT
  161.  
  162. /* Action 9 - Attack
  163. ACTION: 9;IFOBJ 2;SAY Attacking the wall? Come on, that doesn't make any sense.;EXIT
  164. ACTION: 9;IFOBJ 4;SAY No way, he looks much stronger than me.|No way, he's too big!;EXIT
  165.  
  166. /* End of room file
  167.